﻿<navigation:Page 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
           x:Class="SilentWebsite.Views.DesignPage"
           mc:Ignorable="d"
           d:DesignWidth="1116.23" d:DesignHeight="519.035"
           Title="Design Page">
    <Grid x:Name="LayoutRoot">
        <telerik:RadContextMenu.ContextMenu>
            <telerik:RadContextMenu Name="DesignMenu" IconColumnWidth="0" Placement="MousePoint">
                <telerik:RadMenuItem Header="Add" />
                <telerik:RadMenuItem Header="Delete" />
            </telerik:RadContextMenu>
        </telerik:RadContextMenu.ContextMenu>

        <telerik:RadDocking Name="DesignPanes" Background="Transparent">
            <telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer InitialPosition="FloatingDockable">
                    <telerik:RadPaneGroup>
                        <telerik:RadDocumentPane Header="Design" Title="Design">
                            <Canvas Name="DesignRoot" Background="White" >
                                
                            </Canvas>
                        </telerik:RadDocumentPane>
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>
            
            <telerik:RadSplitContainer InitialPosition="DockedRight" Width="350">
                <telerik:RadPaneGroup>
                    <telerik:RadPane Header="Properties">
                        <telerik:RadPropertyGrid Name="PropertyGrid"
                                                 Item="{Binding SelectedElement}"
                                                 HorizontalContentAlignment="Stretch"
                                                 AutoGeneratePropertyDefinitions="True"
                                                 AutoGenerateBindingPaths="True"
                                                 DescriptionPanelVisibility="Collapsed"
                                                 NestedPropertiesVisibility="Visible"
                                                 SearchInNestedProperties="True" />
                    </telerik:RadPane>
                    <telerik:RadPane Header="Menu">
                        <telerik:RadButton Content="Save" Command="{Binding SaveCommand}" Width="75" Height="30" />
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking>
    </Grid>
</navigation:Page>
